package cn.xopencode.recordservice.convert.pdroom;

import cn.xopencode.recordservice.dal.mysql.dataobject.pdroom.PowerDistributionRoomDO;
import cn.xopencode.recordservice.rpc.pdroom.dto.PowerDistributionRoomCreateDTO;
import cn.xopencode.recordservice.rpc.pdroom.vo.PowerDistributionRoomVO;
import cn.xopencode.recordservice.service.pdroom.bo.PowerDistributionRoomBO;
import cn.xopencode.recordservice.service.pdroom.bo.PowerDistributionRoomCreateBO;
import cn.xopencode.systemservice.rpc.datadict.vo.DataDictVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface PowerDistributionRoomConvert {

    PowerDistributionRoomConvert INSTANCE = Mappers.getMapper(PowerDistributionRoomConvert.class);

    PowerDistributionRoomDO convert(PowerDistributionRoomCreateBO bean);

    PowerDistributionRoomBO convert(PowerDistributionRoomDO bean);

    PowerDistributionRoomCreateBO convert(PowerDistributionRoomCreateDTO bean);

    List<PowerDistributionRoomBO> convertList(List<PowerDistributionRoomDO> list);

    PowerDistributionRoomVO convert(PowerDistributionRoomBO bean);

    List<PowerDistributionRoomVO> convertList02(List<PowerDistributionRoomBO> list);

}
